<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体大小font-size</title>
    <style>
        .small {
            font-size: xx-small;
        }

        .larger {
            font-size: larger;
        }

        .point {
            font-size: 24pt;
        }

        .percent {
            font-size: 200%;
        }

        .swiper-pagation {
            text-align: center;
            border: 4px solid red;
            font-size: 0;
        }

        .swiper-pagation span {
            display: inline-block;
            width: 20px;
            height: 20px;
            background: #000;
            margin: 0 4px;
            color: red;
            font-size: 12px;
        }
    </style>
</head>

<body>
    <div class="swiper-pagation">
        <span>1</span>
        <span>2</span>
        <span>3</span>
    </div>
</body>

</html>